-- GENERATED SPELL FOR [Slaughterhouse Protector] --


function spell0_12263(pUnit, Event) --@Incapacitating Shout,Self--
pUnit:FullCastSpellOnTarget(18328,pUnit)
pUnit:RegisterEvent('Sorts_12263', 8302, 1)
end

function Sorts_12263(pUnit, Event)
local choix_sorts_12263 = math.random(0, 0)
if choix_sorts_12263 == 0 then
pUnit:RegisterEvent('spell0_12263', 1, 1)
end
end

function mob12263_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12263', math.random(1500, 3000), 1)
end

function mob12263_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12263_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12263_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12263, 1, 'mob12263_Action')
RegisterUnitEvent(12263, 2, 'mob12263_Leave')
RegisterUnitEvent(12263, 3, 'mob12263_Kill')
RegisterUnitEvent(12263, 4, 'mob12263_Die')
